{template "content","header"}


<!--main-->
<<div class="w100p">
    	<div class="w930 mg">
        	<div class="clearfix mg_s3">
            
            	<!-- left-->
            	<div class="l_box">
                	<h3 class="menu_tit">
                    	<div class="pic clearfix"><img src="{IMG_PATH}title_1.gif" class="block fr"></div>
                        <div class="tit">
							{if $CATEGORYS[$catid][parentid]==0}
								{$CATEGORYS[$catid][catname]}
							{elseif $CATEGORYS[$CATEGORYS[$catid][parentid]][parentid] == 0}
								{$CATEGORYS[$CATEGORYS[$catid][parentid]][catname]}
							{else}
								{$CATEGORYS[$CATEGORYS[$CATEGORYS[$catid][parentid]][parentid]][catname]}
							{/if}
						</div>
                    </h3>
                	<ul class="submenu">
						{if $CATEGORYS[$catid][parentid]==0}
								
						{elseif $CATEGORYS[$CATEGORYS[$catid][parentid]][parentid] == 0}
							{loop subcat($CATEGORYS[$catid][parentid]) $v}
								<li>
									<a href="{$v[url]}" class="{if $v[catid]==$catid}current{/if} pl25 far">{$v[catname]}</a>
								</li>
							{/loop}
							
						{else}
							{loop subcat($CATEGORYS[$CATEGORYS[$catid][parentid]][parentid]) $v}
								<li>
									<a href="{if $v[child] == 0}{$v[url]}{else}javascript:;{/if}" class="{if $CATEGORYS[$catid][parentid] == $v[catid]}current{/if} pl25 far">{$v[catname]}</a>
									<div class="child_menu">
										{loop subcat($v[catid]) $sub}
											<a href="{$sub[url]}" class="pl25
											{if $sub[catid]==$catid}on{/if}
											">{$sub[catname]}</a>
											
										{/loop}
									</div>
								</li>
							{/loop}
						{/if}
						
						
					</ul>
                </div>
                <!-- left--end-->
                
                <!-- right-->
                <div class="r_box">
                	<h3 class="title">{$CATEGORYS[$catid][catname]}</h3>
                    <div class="list_box">
                    	<ul class="list">
							{pc:content action="lists" catid="$catid" num="7" order="updatetime DESC" page="$page"}
								{loop $data $r}
								<li>
									<span class="fr mr20">{date('Y-m-d H:i:s',$r[updatetime])}</span>
									<a  href="{$r[url]}">{$r[title]}</a>
								</li>
								{/loop}
							{/pc}
                        	
                           
                        </ul>
                        <div id="pages" class="fanye" style="padding:0 0 0 250px; height:30px;">{$pages}</div>
                       
                        
                    </div>
                </div>
                <!-- right--end-->
                
            </div>
        </div>	
    </div>
{template "content","footer"}